#pragma once
#ifndef SMPPSUBMITSMRESP_HPP
#define SMPPSUBMITSMRESP_HPP

#include "SMPPHeader.hpp"
#include "SMPPMessageSubmissionResponseTLVs.hpp"

namespace smpp {
namespace pdu{

class SMPP_DLLPRFX SubmitSMResp : public Header,
public MessageSubmissionResponseTLVs{
	CoctetString _MessageId;
public:
	SubmitSMResp(const Header &nHeader = Header(),
		const CoctetString &nMessageId = "",
		const MessageSubmissionResponseTLVs &
		nMessageSubmissionResponseTLVs = MessageSubmissionResponseTLVs());

	SubmitSMResp(const SubmitSMResp &);

	void setMessageId(const CoctetString &);

	const CoctetString &getMessageId() const;

	void calcCommandLength();	
};

}
}

#endif
